clear; clc;

%% session initialization
s=MeasurementSession.SimpleMeasurement('device_file', 'D:\code\AutoMeasurement\example\ParallelBellBloom\device.dat');

%% Get Device
% rigol = s.getDevice('rigol');
tek = s.getDevice('tek');


%% AOM settings

aom = EquipmentControl.ExecutionEquipment.AOM.AA('Pump Modulation');
aom.controlledBy(tek, 1).setWave(); % default AOM waveform: square modulation

wv = aom.default_wave;
wv.frequency = 50e3;
aom.setWave(wv);

aom.disableBurst().fire();



